/**
 * Project Name:kany-project-blog-web
 * File Name:GenericErrorMessage.java
 * Package Name:me.kany.project.blog.resource.model
 * Date:2016年9月21日下午5:29:57
 * Copyright (c) 2016, Jason.Wang All Rights Reserved.
 */
package me.kany.project.blog.resource.model;

import java.util.ArrayList;
import java.util.Collection;

/**
 * ClassName:GenericErrorMessage<br/>
 * Function: 返回的方法体<br/>
 * Date:2016年9月21日下午5:29:57<br/>
 * 
 * @author Jason.Wang
 * @version 1.0
 * @since JDK1.7
 * @see
 */
public class GenericErrorMessage {
	private String message;
	private int code;
	private Collection<Object> challenges = new ArrayList<>();

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/**
	 * @return the code
	 */
	public int getCode() {
		return code;
	}

	/**
	 * @param code the code to set
	 */
	public void setCode(int code) {
		this.code = code;
	}

	/**
	 * @return the challenges
	 */
	public Collection<Object> getChallenges() {
		return challenges;
	}

	/**
	 * @param challenges the challenges to set
	 */
	public void setChallenges(Collection<Object> challenges) {
		this.challenges = challenges;
	}
}
